package com.yh.bill.service;

import com.yh.bill.mapper.BIllTypeMapper;
import com.yh.bill.pojo.BillType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName BillTypeService
 * @Description Service
 * @Author 0715-YuHao
 * @Date 2020/10/17 12:29
 */
@Service
public class BillTypeService {

    @Autowired
    private BIllTypeMapper bIllTypeMapper;

    public List<BillType> list() {
        return bIllTypeMapper.selectAll();
    }
}
